package com.fzkj.Array;

import java.util.ArrayList;
import java.util.List;

public class A {

    static List<String> list = new ArrayList<>();

    public static void main(String[] args) {
        list.add("ceshi");
        list.add("ceshi1");
        list.add("ceshi2");
        list.add("ceshi3");
        list.add("ceshi4");

        boolean ceshi = list.contains("ceshi");
        System.out.println(ceshi);
    }


}
